package com.ranjiaqi.builder;

/**
 * @ClassName TestRevesal
 * @Description TODO
 * @Author hp
 * @Date 2021/6/21 18:25
 * @Version 1.0
 **/
public class TestReverse {
    public static void main(String[] args) {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("abcdef");
        //将字符串进行翻转。
        stringBuilder.reverse();
        System.out.println("stringBuilder = " + stringBuilder);
    }
}
